package com.ad_hccm.domain.GeneralInformation;

import java.util.Date;

/**
 * @ClassName TODO Menstruation 月经史
 * id               身份证
 * menstruation     是否以绝经(0:未绝经、1:以绝经)
 * menarcheYear     初潮多少周岁
 * lingDay          行几天
 * cycle            周期
 * lastMenstruation 末次月经：-年-月-日
 * menopausalAge    绝经年龄
 */
public class Menstruation {

    private String id;
    private boolean menstruation;
    private short menarcheYear;
    private short lingDay;
    private short cycle;
    private Date lastMenstruation;
    private short menopausalAge;

    @Override
    public String toString() {
        return "Menstruation{" +
                "id=" + id +
                ", menstruation=" + menstruation +
                ", menarcheYear=" + menarcheYear +
                ", lingDay=" + lingDay +
                ", cycle=" + cycle +
                ", lastMenstruation=" + lastMenstruation +
                ", menopausalAge=" + menopausalAge +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean getMenstruation() {
        return menstruation;
    }

    public void setMenstruation(boolean menstruation) {
        this.menstruation = menstruation;
    }

    public short getMenarcheYear() {
        return menarcheYear;
    }

    public void setMenarcheYear(short menarcheYear) {
        this.menarcheYear = menarcheYear;
    }

    public short getLingDay() {
        return lingDay;
    }

    public void setLingDay(short lingDay) {
        this.lingDay = lingDay;
    }

    public short getCycle() {
        return cycle;
    }

    public void setCycle(short cycle) {
        this.cycle = cycle;
    }

    public Date getLastMenstruation() {
        return lastMenstruation;
    }

    public void setLastMenstruation(Date lastMenstruation) {
        this.lastMenstruation = lastMenstruation;
    }

    public short getMenopausalAge() {
        return menopausalAge;
    }

    public void setMenopausalAge(short menopausalAge) {
        this.menopausalAge = menopausalAge;
    }
}
